package com.suyx.job.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Auther: lanyanhua
 * @Date: 2018/10/18 0018 14:21
 * @Description:
 */
@Controller
public class indexController {

    @RequestMapping("/")
    public String index() {
        return "index";
    }
    
    @RequestMapping("/welcome")
    public String welcome() {
        return "/welcome/welcome";
    }

    @RequestMapping("/job/{page}")
    public String job(@PathVariable("page") String page) {
        return "job/" + page;
    }

    @RequestMapping("/jobGroup/{page}")
    public String jobGroup(@PathVariable("page") String page) {
        return "jobGroup/" + page;
    }

    @RequestMapping("/email/{page}")
    public String email(@PathVariable("page") String page) {
        return "email/" + page;
    }

    @RequestMapping("/device/{page}")
    public String device(@PathVariable("page") String page) {
        return "device/" + page;
    }
    
    @RequestMapping("/role/{page}")
    public String role(@PathVariable("page") String page) {
        return "role/" + page;
    }
    
    @RequestMapping("/task/{page}")
    public String task(@PathVariable("page") String page) {
        return "task/" + page;
    }
    
    @RequestMapping("/goods/{page}")
    public String goods(@PathVariable("page") String page) {
        return "goods/" + page;
    }
    
    @RequestMapping("/animal/{page}")
    public String animal(@PathVariable("page") String page) {
        return "animal/" + page;
    }
    
    @RequestMapping("/app/{page}")
    public String app(@PathVariable("page") String page) {
        return "app/" + page;
    }
    
    @RequestMapping("/log/{page}")
    public String log(@PathVariable("page") String page) {
        return "log/" + page;
    }
    
    @RequestMapping("/tuInfoLog/{page}")
    public String tuInfoLog(@PathVariable("page") String page) {
        return "tuInfoLog/" + page;
    }
    

}
